import { applyMiddleware, combineReducers, createStore } from 'redux'
import logger from 'redux-logger'
// import thunk from 'redux-thunk'
import listReducer from './modules/list'

const rootReducer = combineReducers({
  list: listReducer
})

const store = createStore(rootReducer, applyMiddleware(logger))

export default store